<template>
  <div id="app">
    <Notification />
    <router-view />
  </div>
</template>

<script>
import Notification from './components/Notification.vue'

export default {
  components: {
    Notification
  }
}

</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

/* 添加全局样式 */
.liked {
  color: #2196F3;
  font-weight: bold;
}

.comment {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.comment-author {
  font-weight: bold;
}

.comment-time {
  color: #666;
  font-size: 14px;
}
</style>